]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesView: Remove obsolete cleanup
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 4 Feb 2023 22:01:03 +0000 (23:01 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 4 Feb 2023 23:54:42 +0000 (23:54 +0000)
Since commit a9f11b1f5a3e9, we no longer set up a later on
parent-set, so there's nothing to clean up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2626>

js/ui/workspacesView.js

index 930b720b394c372e7dffe6a01bf03f677f1cf58b..29d1c65f12f54b5098d6bdd72005782ecc21b432 100644 (file)
@@ -854,16 +854,6 @@ class WorkspacesDisplay extends St.Widget {
         this._leavingOverview = false;
 
         this._gestureActive = false; // touch(pad) gestures
-
-        this.connect('destroy', this._onDestroy.bind(this));
-    }
-
-    _onDestroy() {
-        if (this._parentSetLater) {
-            const laters = global.compositor.get_laters();
-            laters.remove(this._parentSetLater);
-            this._parentSetLater = 0;
-        }
     }
 
     _windowDragBegin() {